﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 银行档案AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class BankAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public BankAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
					BankStatement= 0; 
				

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.UOpenAccount != null) 
			{
				this.UOpenAccount.DoSerializeKeyList(dict);
			}
	        	        			if (this.UBankCode != null) 
			{
				this.UBankCode.DoSerializeKeyList(dict);
			}
	        			if (this.UBankArea != null) 
			{
				this.UBankArea.DoSerializeKeyList(dict);
			}
	        			if (this.Country != null) 
			{
				this.Country.DoSerializeKeyList(dict);
			}
	        	        			if (this.BankCategory != null) 
			{
				this.BankCategory.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public BankAITDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , System.String code  , System.String name  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData uOpenAccount  , System.String unionBankCode  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData uBankCode  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData uBankArea  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData country  , System.Int32 bankStatement  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData bankCategory  )
		{
			initData();
			this.Org = org;
			this.Code = code;
			this.Name = name;
			this.UOpenAccount = uOpenAccount;
			this.UnionBankCode = unionBankCode;
			this.UBankCode = uBankCode;
			this.UBankArea = uBankArea;
			this.Country = country;
			this.BankStatement = bankStatement;
			this.BankCategory = bankCategory;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 组织
		/// 银行档案AITDTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 编码
		/// 银行档案AITDTO.Misc.编码
		/// </summary>
		private System.String m_code ;
		[DataMember(IsRequired=false)]
		public System.String Code
		{
			get	
			{	
				return m_code ;
			}
			set	
			{	
				m_code = value ;	
			}
		}
			
		

		/// <summary>
		/// 名称
		/// 银行档案AITDTO.Misc.名称
		/// </summary>
		private System.String m_name ;
		[DataMember(IsRequired=false)]
		public System.String Name
		{
			get	
			{	
				return m_name ;
			}
			set	
			{	
				m_name = value ;	
			}
		}
			
		

		/// <summary>
		/// 开户行
		/// 银行档案AITDTO.Misc.开户行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_uOpenAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UOpenAccount
		{
			get	
			{	
				return m_uOpenAccount ;
			}
			set	
			{	
				m_uOpenAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 联行号
		/// 银行档案AITDTO.Misc.联行号
		/// </summary>
		private System.String m_unionBankCode ;
		[DataMember(IsRequired=false)]
		public System.String UnionBankCode
		{
			get	
			{	
				return m_unionBankCode ;
			}
			set	
			{	
				m_unionBankCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行代码
		/// 银行档案AITDTO.Misc.银行代码
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_uBankCode ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UBankCode
		{
			get	
			{	
				return m_uBankCode ;
			}
			set	
			{	
				m_uBankCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 地区
		/// 银行档案AITDTO.Misc.地区
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_uBankArea ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UBankArea
		{
			get	
			{	
				return m_uBankArea ;
			}
			set	
			{	
				m_uBankArea = value ;	
			}
		}
			
		

		/// <summary>
		/// 国家/地区
		/// 银行档案AITDTO.Misc.国家/地区
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_country ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Country
		{
			get	
			{	
				return m_country ;
			}
			set	
			{	
				m_country = value ;	
			}
		}
			
		

		/// <summary>
		/// 对账单方向
		/// 银行档案AITDTO.Misc.对账单方向
		/// </summary>
		private System.Int32 m_bankStatement ;
		[DataMember(IsRequired=false)]
		public System.Int32 BankStatement
		{
			get	
			{	
				return m_bankStatement ;
			}
			set	
			{	
				m_bankStatement = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行类别
		/// 银行档案AITDTO.Misc.银行类别
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_bankCategory ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData BankCategory
		{
			get	
			{	
				return m_bankCategory ;
			}
			set	
			{	
				m_bankCategory = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
